package com.luo.simple.service;

import com.luo.simple.entity.Record;
import com.luo.simple.entity.RecordExample;
import com.luo.simple.entity.result.Result;
import com.luo.simple.parms.webParms.Record.RecordResult;

import java.util.List;

public interface RecordService {

    Result insertRecord(Record record);

    Record queryByKey(String key);

    Record queryByAddress(String address);

    List<Record> queryByExample(RecordExample example);

    void updateRecord(Record record);
}
